class Env1:
    name = "环境 #1"

    class database:
        db_name = "test01"
        db_user = "root"
        db_password = "20021003"
        db_ip = '127.0.0.1'
        db_port = 3306

    class DjangoQ:
        WEBSCOCKET_TIME = 3600 * 72  # 支持最多3天的异步任务

    class Minio:
        AWS_ACCESS_KEY_ID = 'ZFnVA8bacrXKuQFmNtgJ'  # access-key
        AWS_SECRET_ACCESS_KEY = 'NSbZI7vg8Sx8Iy4xspk5HAiEoGdKxTVM16ZQ3v7L'  # secret-key
        AWS_STORAGE_BUCKET_NAME = 'mybucketname1'  # bucket-name
        AWS_S3_ENDPOINT_URL = '127.0.0.1:9000'  # MinIO endpoint
        AWS_S3_USE_SSL = False  # 设置为 False 如果 MinIO 没有使用 SSL
        AWS_S3_REGION_NAME = ''  # 可选，可以为空
        AWS_S3_SIGNATURE_VERSION = 's3v4'


MODE = Env1
